package com.joysuch.wwyt.risk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.core.bean.SimpleListBean;
import com.joysuch.wwyt.core.bean.SimpleSelectListBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "风险点评估展示")
public class RiskPointEvaluationBusinessShowBean implements Serializable {

    @ApiModelProperty("风险点控制风险评价id")
    private Long id;

    @ApiModelProperty("风险点id")
    private Long pointId;
    @ApiModelProperty("风险单元类型")
    private String pointType;

//    @ApiModelProperty("风险点固有风险开关状态:0关,1开")
//    private Integer pointStableSwitch;

    @ApiModelProperty("分析方法id")
    private Long analyzeWayId;

    @ApiModelProperty("作业票->风险等级/风险点->控制等级")
    private Integer riskLevel;
    @ApiModelProperty("风险等级名称")
    private String riskLevelName;

    @ApiModelProperty("评估人员id集合")
    private List<Long> evaluationUserIds;
    @ApiModelProperty("评估人员名称")
    private List<SimpleListBean> evaluationUserBeanList;

    @ApiModelProperty("受控号")
    private String controlNumber;

    @ApiModelProperty("评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date evaluationDate;

    @ApiModelProperty("风险辨识展示")
    private List<RiskPointEvaluationItemShowBean> itemList;

    @ApiModelProperty("填写日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date deafultDate;

    //风险点库评估独有
    @ApiModelProperty("0风险点固有风险评价,1风险点控制风险评价")
    private Integer pointAnalyzeType;

    //风险点评估独有
    @ApiModelProperty("固有等级")
    private Integer stableRiskLevel;
    private String stableRiskLevelName;

    @ApiModelProperty("固有风险评估Id")
    private Long stablePointBusinessId;
}
